package com.chima.service.impl;
import java.util.List;

import com.chima.dao.PerformanceCountDao;
import com.chima.domain.PerformancePostcount;
import com.chima.service.PerformanceCountService;

public class PerformanceCountServiceImp implements PerformanceCountService {
	private PerformanceCountDao performanceCountDao;
	
	public PerformanceCountDao getPerformanceCountDao() {
		return performanceCountDao;
	}

	public void setPerformanceCountDao(PerformanceCountDao performanceCountDao) {
		this.performanceCountDao = performanceCountDao;
	}

	public void savePerformancePostcount(PerformancePostcount performancePostcount) {
		
		performanceCountDao.save(performancePostcount);
	}

	public List<PerformancePostcount> findBydateAndDepart(String date,int Depart) {
		return performanceCountDao.findByDateAndDepart(date, Depart);
	}

	public Double findMaxJinjizhongyao(String date ,int depart ) {
		return performanceCountDao.findMaxJinjizhongyao(date, depart);
	}

	public Double findMaxJinjibuzhongyao(String date, int depart) {
		
		return performanceCountDao.findMaxJinjibuzhongyao(date, depart);
	}

	public Double findMaxbuJinjizhongyao(String date, int depart) {
	
		return performanceCountDao.findMaxbuJinjizhongyao(date, depart);
	}

	public Double findMaxbuJinjibuzhongyao(String date, int depart) {
	
		return performanceCountDao.findMaxbuJinjibuzhongyao(date, depart);
	}

	public Double findMaxtaidu(String date, int depart) {
		
		return performanceCountDao.findMaxtaidu(date, depart);
	}

	public Double findMaxability(String date, int depart) {
		
		return performanceCountDao.findMaxability(date, depart);
	}

	public Double findMaxcircle(String date, int depart) {
		
		return performanceCountDao.findMaxcircum(date, depart);
	}

	public Double findMaxmanger(String date, int depart) {
		
		return performanceCountDao.findMaxmanager(date, depart);
	}

	public Double findMaxteshu(String date, int depart) {
		
		return performanceCountDao.findMaxteshu(date, depart);
	}

}
